package prefuse.decisiontree.api;


/**
 * A TreeNodeValue represents the business value of a particular TreeNode.
 * 
 * @invariant getValue should not change for a single instance
 * 
 * @author Travis
 * @see TreeNode
 */
public interface TreeNodeValue {

    static final double NO_VALUE = Double.NaN;
    
    /**
     * Retrieve the business value represented by this TreeNodeValue.
     * 
     * @return A double-precision representation of the business value. A value of Double.NaN represents an unknown value.
     */
    double getValue();
    
}
